package com.example.front.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 严重等级
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Level {
    public static final int HANDLE_CRAFT = 1;  // 工艺负责人
    public static final int HANDLE_LINE = 2;  // 产线负责人
    public static final int HANDLE_WORKSHOP = 3;  // 车间负责人
    private Long id;
    private long tenantId;
    private int times;
    private Long pid;
    private String name;
    private int duration;
    private int status;
    private Date createdAt;
    private Date updatedAt;
    private int handle;
    private String path;
}
